package com.itheima.Demo01.demo01;

public class Test02 {
    public static void main(String[] args) {
        String s = "11 33 44 88 66 11";

        String[] arr = s.split(" ");

        int[] intarr = new int[arr.length];

        for (int i = 0; i < arr.length; i++) {
            int num = Integer.parseInt(arr[i]);

            intarr[i] = num;
        }
        for (int j = 0; j <intarr.length ; j++) {
            System.out.println(intarr[j]);
        }
    }
}
